{% extends "layout.html" %}

{% block title %}Détail de l'offre{% endblock %}

{% block content %}



<form method="post" class="form-horizontal">

	<div class="row">
	
	 <!-- Première colonne -->
	<div class="span5">
	
	  <fieldset>
		<legend>Informations sur l'option</legend>
		<input name="id" type="hidden" value="{{offre.id}}" class="uneditable-input"/>
	  
	  <div class="control-group">
		<label class="control-label" for="code_article">Code article</label>
        <div class="controls">
		<div class="input-prepend">
           <input name="code_article" type="text" value="{{offre.code_article}}"/> 
		</div>
	  </div>
	  </div>
      
      <div class="control-group">
		<label class="control-label" for="nom">Nom</label>
        <div class="controls">
		<div class="input-prepend">
           <input name="nom" type="text" value="{{offre.nom}}"/> 
		</div>
	  </div>
	  </div>
	  
	   
      
      <div class="control-group">
		<label class="control-label" for="sms">SMS</label>
        <div class="controls">
		<div class="input-prepend">
           <input name="sms" type="text" value="{{offre.sms}}"/> 
		</div>
	  </div>
	  </div>
      
      <div class="control-group">
		<label class="control-label" for="data">DATA</label>
        <div class="controls">
		<div class="input-prepend">
           <input name="data" type="text" value="{{offre.data}}"/> 
		</div>
	  </div>
	  </div>
	  
	    <div class="control-group">
		<label class="control-label" for="bb">Blackberry</label>
        <div class="controls">
		<div class="input-prepend">
           <input name="bb" type="text" value="{{offre.bb}}"/> 
		</div>
	  </div>
	  </div>
	  
	    <div class="control-group">
		<label class="control-label" for="international">International</label>
        <div class="controls">
		<div class="input-prepend">
           <input name="international" type="text" value="{{offre.international}}"/> 
		</div>
	  </div>
	  </div>
	  
    <!--   
      <div class="control-group">
		<label class="control-label" for="prix_seul">Prix Seul</label>
        <div class="controls">
		<div class="input-prepend">
           <input name="prix_seul" type="text" value="{{offre.prix_seul}}"/> 
		</div>
	  </div>
	  </div>
      
      <div class="control-group">
		<label class="control-label" for="prix_avec_equipement">Prix avec équipement</label>
        <div class="controls">
		<div class="input-prepend">
           <input name="prix_avec_equipement" type="text" value="{{offre.prix_avec_equipement}}"/> 
		</div>
	  </div>
	  </div>
	  
	    <div class="control-group">
			<label class="control-label" for="famille">Famille</label>
			<div class="controls">
			   <select name="famille" size="1" />
	           	<option value="" {% if offre.famille == "" %}selected{% endif %}>Selectionnez...</option>
				  <option value="DATA" {% if offre.famille == "DATA" %}selected{% endif %}>DATA</option>
				   <option value="SMS" {% if offre.famille == "SMS" %}selected{% endif %}>SMS</option>
	              <option value="Blackberry" {% if offre.famille == "Blackberry" %}selected{% endif %}>Blackberry</option>
	               <option value="Foreign Status" {% if offre.famille == "Foreign Status" %}selected{% endif %}>International</option>
					<option value="Other" {% if offre.famille == "Other" %}selected{% endif %}>Other</option>
				</select>
			</div>
		  </div> 
 -->
   
		<div class="form-actions">
                              
                      
                      
                      <button type="submit" class="btn btn-primary" name="action" value="update">Mise à jour de l'offre</button>
                     
					  
                      
    <div class="btn-group">
					  <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
						Actions
						<span class="caret"></span>
					  </a>

						<ul class="dropdown-menu">
							
                            <li><a href="achat-offre-mobile"><i class="icon-eye-open"></i> Afficher la liste des offres</a></li>
                         <li class="divider"></li>
							<li><a href="achat-offre-mobile-creation"><i class="icon-shopping-cart"></i>Créer une nouvelle offre </a></li>
							
					  </ul>
					</div>
                    </div>
                    </div>
   


    
   </form> 
    
		
		
	
</form>

{% endblock %}
	
